package com.example.demo.entity;

import com.example.demo.serialize.PublicSerialize;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Classname TestEntity
 * @Description TODO
 * @Date 2019/11/18 14:05
 * @Created by yby
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonDeserialize(using = PublicSerialize.Deserializer.class)
@JsonSerialize(using = PublicSerialize.Serializer.class)
public class TestEntity {

    private String name;

    private Integer age;

    private Long count;

    private String code;
}
